package com.bristua.mall.common.biz;

import com.bristua.mall.common.dao.TIndexImgMapper;
import com.bristua.mall.common.model.TIndexImg;
import com.bristua.mall.common.model.condition.TIndexImgExample;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2019/4/29.
 */
@Service
public class QueryAppIndexImgBiz {

    @Resource
    private TIndexImgMapper tIndexImgMapper;

    public List<TIndexImg> queryAppIndexImg(){
        TIndexImgExample tIndexImgExample = new TIndexImgExample();
        tIndexImgExample.setOrderByClause("sort_num asc");
        return tIndexImgMapper.selectByExampleWithBLOBs(tIndexImgExample);
    }
}
